# $Id: PKGBUILD 66142 2012-02-23 01:46:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor : Todd Maynard <arch@toddmaynard.com>

pkgname=python2-genshi
pkgver=0.6
pkgrel=5
pkgdesc="Python toolkit for stream-based generation of output for the web."
url="http://genshi.edgewall.org/"
license=("BSD")
arch=('any')
depends=('python2')
makedepends=('setuptools')
conflicts=('python-genshi<=0.6-3')
replaces=('python-genshi<=0.6-3')
source=("http://ftp.edgewall.com/pub/genshi/Genshi-$pkgver.tar.gz")
md5sums=('604e8b23b4697655d36a69c2d8ef7187')

build() {
  cd $srcdir/Genshi-${pkgver}
  python2 setup.py install --root=$pkgdir
  install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
